#include "display.h"
int DISPLAY::start()
{
    int ret = 0;
    ret = this->m_opencv->start();
    cout<<"display module is started!"<<endl;
    return ret;
}

void DISPLAY::update(uint8_t *data)
{

}

void DISPLAY::process(video_frame *frame)
{
}

DISPLAY::DISPLAY()
{
    m_opencv = new OPENCV();
}

DISPLAY::DISPLAY(uint32_t width, uint32_t height, uint32_t pixfmt)
{
    m_opencv = new OPENCV();
}

DISPLAY::~DISPLAY()
{
    delete m_opencv;
}
